package course.MyInterger;

import java.util.Arrays;

public class MyIntergerDemo01 {
    public static void main(String[] args) {
        String s = "91 20 80 91 34";
        String [] str = s.split(" ");

        int [] arr = new int[str.length];
        for (int i = 0; i < arr.length; i++) {
            int num = Integer.parseInt(str[i]);
            arr[i] = num;
        }

        for (int i = 0; i < arr.length; i++) {
            System.out.println(arr[i]);
        }
    }
}
